/*            Copyright(c) 2006-2008 Dave Sexton           *
 * http://www.codeplex.com/DocProject                      *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;

namespace DaveSexton.DocProject.Wizards.Foundation
{
	/// <summary>
	/// Provides arguments for the <see cref="WizardStep.StateChanged" /> event.
	/// </summary>
	[Serializable]
	public class WizardStepStateChangedEventArgs : EventArgs
	{
		#region Public Properties
		public bool CanMoveNext
		{
			get
			{
				return canMoveNext;
			}
		}

		public bool CanMovePrevious
		{
			get
			{
				return canMovePrevious;
			}
		}
		#endregion

		#region Private / Protected
		private readonly bool canMoveNext, canMovePrevious;
		#endregion

		#region Constructors
		/// <summary>
		/// Constructs a new instance of the <see cref="WizardStepStateChangedEventArgs" /> class.
		/// </summary>
		public WizardStepStateChangedEventArgs(bool canMoveNext, bool canMovePrevious)
		{
			this.canMoveNext = canMoveNext;
			this.canMovePrevious = canMovePrevious;
		}
		#endregion
	}
}
